package Shiti;
import java.util.Objects;
public class Dingdanti {
    private int id;
    private String name;
    private String bus;
    private int acc;
    private int num;
    public Dingdanti () { }
    public Dingdanti (int hang,int id) {
        this.acc=hang;
        this.id=id;
    }
    public Dingdanti (int hang,String name,String bus,int id,int num) {
        this.acc=hang;
        this.name=name;
        this.bus=bus;
        this.id=id;
        this.num=num;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getBus() {
        return bus;
    }

    public void setBus(String bus) {
        this.bus = bus;
    }

    public int getAcc() {
        return acc;
    }

    public void setAcc(int hang) {
        this.acc = hang;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }
}


